#![allow(clippy::unit_arg)]

// jizi_macro::mod_pub!(drivers) ;

jizi_macro::mod_flat!(mux);

use jizi_shared::{RoCell, SyncCell};


// pub static EMULATOR: RoCell<Emulator> = RoCell::new();
// pub static ADAPTOR: RoCell<Adapter> = RoCell::new();

// Image state
// static SHOWN: SyncCell<Option<ratatui::layout::Rect>> = SyncCell::new(None);

// Tmux support
pub static TMUX: SyncCell<bool> = SyncCell::new(false);
// static ESCAPE: RoCell<&'static str> = RoCell::new();
// static START: RoCell<&'static str> = RoCell::new();
// static CLOSE: RoCell<&'static str> = RoCell::new();
// 
// // WSL support
// pub static WSL: RoCell<bool> = RoCell::new();
// 
// // Neovim support
// pub static NVIM: RoCell<bool> = RoCell::new();



pub fn init() -> anyhow::Result<()> {
	// Tmux support
	
	Ok(()) 
}